package com.behelpful.demo.admin;

import com.behelpful.common.integration.captcha.annotation.EnableCaptchaServer;
import com.behelpful.common.integration.iredis.annotation.EnableIRedis;
import com.behelpful.common.swagger.annotation.EnableISwagger;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Alay
 * @date 2021-10-28 22:55
 * @since
 */
// @EnableIResourceServer
@EnableISwagger
@EnableIRedis
// 开启Dubbo @EnableDubbo
@EnableDubbo
@EnableCaptchaServer
// 开启服务注册与发现功能 @EnableDiscoveryClient
@EnableDiscoveryClient
@SpringBootApplication
public class BehelpfulAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(BehelpfulAdminApplication.class, args);
    }
}
